#
# Recipe for build-mac

LICENSE = "CLOSED"
LIC_FILES_CHKSUM = ""

SRC_URI= "	\
	file://build_mac.c \
	file://checksum.h \
	file://crc32.c \
	file://hdcrypt.h \
	file://Makefile \
	file://arm/libhdcrypto.a \
	file://arm64/libhdcrypto.a \
"

EXTRA_OEMAKE  = "TARGET_ARCH=${TARGET_ARCH}"

S = "${WORKDIR}"

do_configure[noexec] = "1"
do_install () {
    install -d ${D}${bindir}/
    install -m 0755 ${B}/build_mac ${D}${bindir}/
}

FILES_${PN} = " \
	${bindir}/build_mac \
"